home *** CD-ROM | disk | FTP | other *** search
- property tix, tixV, zP, mmV, horseSprite, Counter
- global gmObject, sndObject
-
- on beginSprite me
- gmObject.backCounter = 0
- Counter = 0
- horseSprite = gmObject.horseSprites[6]
- tixV = 4
- tix = the ticks + tixV
- sndObject.respondSnd(3, 2, 1, 1)
- end
-
- on exitFrame me
- Counter = Counter + 1
- if Counter > 30 then
- gmObject.stopped = 0
- gmObject.changeHorse(1)
- Counter = 0
- end if
- go(the frame)
- end
-
- on idle
- if the keyDownScript = EMPTY then
- zP = horseSprite.locH
- if the ticks > tix then
- mmV = (the mouseH - zP) / 15
- gmObject.mouseHX(mmV)
- tix = the ticks + tixV
- end if
- end if
- end
-